﻿app.controller('Notificationctrl', ['$scope', 'GlobalService', 'ApplicationService', 'alertboxservice', 'fileUpload', function ($scope, GlobalService, ApplicationService, alertboxservice, fileUpload) {

    BindGrid();

    function BindGrid() {
        GlobalService.GetNotification().success(function (data) {
            $scope.notification = data;
        });
    }
    
    $scope.filter = function () {
        $timeout(function () {
            $scope.filteredItems = $scope.filtered.length;
        }, 10);
    };

}]);

